package ntu.p2p.dht.messaging;

import ntu.p2p.dht.DHTContentHandle;
import ntu.p2p.dht.DHTContentKey;
import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.NodeHandle;
import rice.p2p.past.messaging.FetchMessage;

public class DHTFetchMessage extends FetchMessage {

	private DHTContentKey key;
	
	public DHTFetchMessage(int uid, DHTContentHandle handle, 
			NodeHandle source, Id dest) {
		super(uid, handle.getContentHandle(), source, dest);
		this.key = handle.getKey();
	}
	
	public DHTContentKey getKey() {
		return this.key;
	}
}
